﻿/**
 * Jean-François Desgagné 2009 Portfolio
 * Copyright (c) 2009 Jean-François Desgagné <jfesgagne@gmail.com>
 * 
 * This work is licensed under a Creative Commons Attribution 3.0 United States License.
 * Some Rights Reserved.
 */
package com.jfdesgagne.jfdesgagne09.shell.controller {
	import com.jfdesgagne.jfdesgagne09.modules.showcase.model.ProjectsProxy
	import com.jfdesgagne.jfdesgagne09.shell.controller.OpenShowcaseCommand;
	import com.jfdesgagne.jfdesgagne09.shell.ApplicationFacade;
	import org.puremvc.as3.multicore.interfaces.ICommand;
    import org.puremvc.as3.multicore.interfaces.INotification;
    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
   
	public class ChangeSectionCommand extends SimpleCommand implements ICommand {
		override public function execute($note:INotification):void {
			switch($note.getBody()) {
				case "showcase":
					this.sendNotification(ApplicationFacade.OPEN_SHOWCASE);
				break;
			}
		}
    }
}